home *** CD-ROM | disk | FTP | other *** search
- object Form1: TForm1
- Left = 63
- Top = 48
- BorderIcons = [biSystemMenu]
- BorderStyle = bsDialog
- Caption = 'Formula Builder Sample Program'
- ClientHeight = 353
- ClientWidth = 524
- Font.Color = clWindowText
- Font.Height = -14
- Font.Name = 'System'
- Font.Pitch = fpVariable
- Font.Style = []
- PixelsPerInch = 96
- OnActivate = FormActivate
- OnCreate = FormCreate
- OnDeactivate = FormDeactivate
- TextHeight = 16
- object FunctionCountLabel: TLabel
- Left = 20
- Top = 320
- Width = 128
- Height = 16
- Caption = 'FunctionCountLabel'
- Font.Color = clWindowText
- Font.Height = -13
- Font.Name = 'System'
- Font.Pitch = fpVariable
- Font.Style = []
- ParentFont = False
- end
- object Bevel1: TBevel
- Left = 212
- Top = 300
- Width = 293
- Height = 40
- end
- object BitBtn1: TBitBtn
- Left = 324
- Top = 308
- Width = 87
- Height = 26
- Caption = 'Evaluate'
- TabOrder = 0
- OnClick = BitBtn1Click
- Glyph.Data = {
- 78010000424D7801000000000000760000002800000020000000100000000100
- 04000000000000000000120B0000120B00000000000000000000000000000000
- 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
- FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00337000000000
- 73333337777777773F333308888888880333337F3F3F3FFF7F33330808089998
- 0333337F737377737F333308888888880333337F3F3F3F3F7F33330808080808
- 0333337F737373737F333308888888880333337F3F3F3F3F7F33330808080808
- 0333337F737373737F333308888888880333337F3F3F3F3F7F33330808080808
- 0333337F737373737F333308888888880333337F3FFFFFFF7F33330800000008
- 0333337F7777777F7F333308000E0E080333337F7FFFFF7F7F33330800000008
- 0333337F777777737F333308888888880333337F333333337F33330888888888
- 03333373FFFFFFFF7333337000000000733333377777777733330000}
- NumGlyphs = 2
- end
- object BitBtn2: TBitBtn
- Left = 420
- Top = 308
- Width = 71
- Height = 26
- TabOrder = 1
- Kind = bkClose
- end
- object ResultsPanel: TPanel
- Left = 12
- Top = 224
- Width = 493
- Height = 69
- Alignment = taLeftJustify
- BevelInner = bvRaised
- BevelOuter = bvNone
- TabOrder = 2
- object Label2: TLabel
- Left = 8
- Top = 4
- Width = 42
- Height = 16
- Caption = '&Result'
- end
- object ResultMemo: TMemo
- Left = 8
- Top = 22
- Width = 477
- Height = 35
- TabStop = False
- Enabled = False
- Lines.Strings = (
- '')
- ParentColor = True
- TabOrder = 0
- end
- end
- object BitBtn3: TBitBtn
- Left = 224
- Top = 308
- Width = 91
- Height = 26
- Caption = '&Functions'
- TabOrder = 3
- OnClick = BitBtn3Click
- Glyph.Data = {
- 78010000424D7801000000000000760000002800000020000000100000000100
- 04000000000000000000120B0000120B00000000000000000000000000000000
- 800000800000008080008000000080008000808000007F7F7F00BFBFBF000000
- FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00333333333333
- 333333333333333333333333333333333333333FFFFFFFFFFF33330000000000
- 03333377777777777F33333003333330033333377FF333377F33333300333333
- 0333333377FF33337F3333333003333303333333377FF3337333333333003333
- 333333333377FF3333333333333003333333333333377FF33333333333330033
- 3333333333337733333333333330033333333333333773333333333333003333
- 33333333337733333F3333333003333303333333377333337F33333300333333
- 03333333773333337F33333003333330033333377FFFFFF77F33330000000000
- 03333377777777777333333333333333333333333333333333330000}
- NumGlyphs = 2
- end
- object Panel1: TPanel
- Left = 12
- Top = 16
- Width = 493
- Height = 205
- Caption = 'Panel1'
- TabOrder = 4
- object Label1: TLabel
- Left = 8
- Top = 8
- Width = 74
- Height = 16
- Caption = '&Expression'
- FocusControl = ComboBox1
- end
- object ListBox1: TListBox
- Left = 8
- Top = 56
- Width = 477
- Height = 137
- ItemHeight = 16
- Items.Strings = (
- '10^2'
- 'true | false'
- 'true & false'
-
- 'iif(dayname(today())='#39'Monday'#39','#39'Whered the weekend go'#39',Str(6-week' +
- 'day(today()))+'#39' days till friday !'#39')'
- 'sin( rad(90) )'
- 'replicate(chr(196),30)'
- '" Tan(90)/Cos(90) = " + Str( Tan(90) / Cos(90) )'
- 'mid("This should return Test",20,4)'
- 'mid("Test is what this should return",4)'
- 'today() + 10'
- 'Daysbetween(Today(),{10/10/2001})'
- 'Proper('#39'SAMuEL wooDSON'#39')'
- 'today() > {10/10/95}'
-
- #39'Current Balance '#39'+padright( '#39'$'#39'+Str(weekday(today()) * 10)+'#39'.50' +
- #39', 10,'#39'*'#39')'
- 'Soundex('#39'haywood'#39')'
- 'Soundex('#39'Wayward'#39')'
- 'SoundAlike('#39'fred'#39','#39'head'#39')'
- 'Wordcount('#39'This function, if successful, should return 7'#39','#39' ,'#39')'
-
- 'Extract('#39'Function in uppercase should be returned'#39','#39' ,'#39',TRUE,TRU' +
- 'E)'
- 'Ltrim('#39'******$99.00'#39','#39'*'#39')'
- 'strpos('#39'.'#39',str(cos(45)))'
- 'first(8,'#39'The rain in Spain'#39')'
- 'Padcenter('#39'Centered String'#39',45,'#39'*'#39')'
- 'strmin('#39'well'#39','#39'trained'#39','#39'horsemen'#39','#39'ride'#39','#39'swiftly'#39')'
-
- 'strmax('#39'Daniel'#39','#39'Mary'#39','#39'Ian'#39','#39'Alicia'#39','#39'Paul'#39','#39'Barbara'#39','#39'Lushena'#39 +
- ')'
- 'length('#39'The length of this string is 31'#39')'
- 'Replace('#39'Please send the IRS your taxes'#39','#39'the IRS'#39','#39'me'#39')'
- 'Cos( PI() )'
- 'ABS( Cos(90) )'
- 'Max( Cos(PI) , SIN(PI) , ATAN(PI) , CSC(PI) , COT(PI) )'
- #39'The fractional value of Cos(10) = '#39'+Str(Frac(Cos(10)))'
- #39'The square root of 89 is '#39'+str( sqrt(89) )')
- TabOrder = 0
- OnClick = ListBox1Click
- OnDblClick = ListBox1DblClick
- end
- object ComboBox1: TComboBox
- Left = 8
- Top = 28
- Width = 477
- Height = 24
- ItemHeight = 16
- TabOrder = 1
- OnEnter = ComboBox1Enter
- end
- end
- end
-